package com.pureut.quality.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.quality.domain.QualitySampleInformation;
import com.pureut.quality.domain.dto.SampleInspectionDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/***
 * 样品管理mapper
 * Author:C
 * Date:2023/02/07 10:30
 * @DESC
 */
@Mapper
public interface QualitySampleInformationMapper extends BaseMapper<QualitySampleInformation> {

    /**
     * 获取样本信息列表
     */
    List<SampleInspectionDto> getInformationList(String inspectionSheetNo);

    /**
     *
     */
    List<SampleInspectionDto> getEntityByItemIds(@Param("itemIds") List<Long> itemIds, @Param("inspectionSheetNo") String inspectionSheetNo);
}
